﻿<!-- BEGIN MAIN CONTENT -->
<div class="row">
    <div class="col-md-12">
        <!-- BEGIN: ACCORDION DEMO -->
        <div class="portlet light">
            <div class="portlet-title page-bar">
                <ul class="page-breadcrumb pull-right">
                    <li>
                        <i class="fa fa-home"></i>
                        <a href="#/home.html">管理中心</a>
                        <i class="fa fa-angle-right"></i>
                    </li>
                    <li>
                        <a href="#/GgcmsLearnRecordList.html">GgcmsLearnRecord</a>
                        <i class="fa fa-angle-right"></i>
                    </li>
                    <li>
                        <a href="javascript:;" data-ng-bind="$state.current.data.pageTitle"></a>
                    </li>
                </ul>
                <div class="caption font-green-sharp">
                    <i class="icon-note font-green-sharp"></i>
                    <span class="caption-subject bold uppercase" data-ng-bind="$state.current.data.pageTitle"></span>
                </div>
            </div>
            <div class="portlet-body">
                <div class="row">
                    <div class="col-xs-12">
                        <form class="form-horizontal" name="ggcmsForm" role="form" novalidate>
                            <input type="hidden" ng-model="data.Id">
                            <div class="form-body">

                                <div class="form-group" ng-class="{'has-error' : ggcmsForm.Id.$invalid&&!ggcmsForm.Id.$pristine}">
                                    <label class="col-md-3 control-label">Id</label>
                                    <div class="col-md-9">
                                        <input type="text" name="Id" minlength="2" maxlength="30" class="form-control" placeholder="Id" required ng-model="data.Id">
                                        <div class="help-block" ng-show="ggcmsForm.Id.$invalid&&!ggcmsForm.Id.$pristine"> Id </div>
                                    </div>
                                </div>
                                <div class="form-group" ng-class="{'has-error' : ggcmsForm.Userid.$invalid&&!ggcmsForm.Userid.$pristine}">
                                    <label class="col-md-3 control-label">Userid</label>
                                    <div class="col-md-9">
                                        <input type="text" name="Userid" minlength="2" maxlength="30" class="form-control" placeholder="Userid" required ng-model="data.Userid">
                                        <div class="help-block" ng-show="ggcmsForm.Userid.$invalid&&!ggcmsForm.Userid.$pristine"> Userid </div>
                                    </div>
                                </div>
                                <div class="form-group" ng-class="{'has-error' : ggcmsForm.Tutorialid.$invalid&&!ggcmsForm.Tutorialid.$pristine}">
                                    <label class="col-md-3 control-label">Tutorialid</label>
                                    <div class="col-md-9">
                                        <input type="text" name="Tutorialid" minlength="2" maxlength="30" class="form-control" placeholder="Tutorialid" required ng-model="data.Tutorialid">
                                        <div class="help-block" ng-show="ggcmsForm.Tutorialid.$invalid&&!ggcmsForm.Tutorialid.$pristine"> Tutorialid </div>
                                    </div>
                                </div>
                                <div class="form-group" ng-class="{'has-error' : ggcmsForm.Cdate.$invalid&&!ggcmsForm.Cdate.$pristine}">
                                    <label class="col-md-3 control-label">Cdate</label>
                                    <div class="col-md-9">
                                        <input type="text" name="Cdate" minlength="2" maxlength="30" class="form-control" placeholder="Cdate" required ng-model="data.Cdate">
                                        <div class="help-block" ng-show="ggcmsForm.Cdate.$invalid&&!ggcmsForm.Cdate.$pristine"> Cdate </div>
                                    </div>
                                </div>
                                <div class="form-group" ng-class="{'has-error' : ggcmsForm.Duration.$invalid&&!ggcmsForm.Duration.$pristine}">
                                    <label class="col-md-3 control-label">Duration</label>
                                    <div class="col-md-9">
                                        <input type="text" name="Duration" minlength="2" maxlength="30" class="form-control" placeholder="Duration" required ng-model="data.Duration">
                                        <div class="help-block" ng-show="ggcmsForm.Duration.$invalid&&!ggcmsForm.Duration.$pristine"> Duration </div>
                                    </div>
                                </div>
                                <div class="form-group" ng-class="{'has-error' : ggcmsForm.Datekey.$invalid&&!ggcmsForm.Datekey.$pristine}">
                                    <label class="col-md-3 control-label">Datekey</label>
                                    <div class="col-md-9">
                                        <input type="text" name="Datekey" minlength="2" maxlength="30" class="form-control" placeholder="Datekey" required ng-model="data.Datekey">
                                        <div class="help-block" ng-show="ggcmsForm.Datekey.$invalid&&!ggcmsForm.Datekey.$pristine"> Datekey </div>
                                    </div>
                                </div>
                            </div>
                            <div class="form-actions">
                                <hr/>
                                <div class="row">
                                    <div class="col-md-12 text-center">
                                        <button class="btn green" ng-click="editSvr.update(data)" ng-disabled="ggcmsForm.$invalid||saveing"> <span class="fa fa-save"></span> 保存</button>
                                    </div>
                                </div>
                            </div>
                        </form>

                    </div>
                </div>
            </div>
        </div>
        <!-- END: ACCORDION DEMO -->
    </div>
</div>
<!-- END MAIN CONTENT -->